﻿create table [store].[kvPersisted]
(
	[Key] varchar(255) COLLATE Latin1_General_100_BIN2 not null, 
	[KeyId] bigint not null,
	[Version] int not null, 
	[PersistedTime] datetime2 not null,
    CONSTRAINT [store_kv_Unique_Key] UNIQUE ([Key]) 
) 
go

create clustered index [store_kv_CIX_Id] on [store].[kvPersisted] ([KeyId]) on SqlKvDb_store_FG
go
